﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using TenpointSystem.Common.Db;
using System.Configuration;

namespace TenpointSystem
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            //Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            //MySqlConnector.initConnection();
            string mysqlstr = ConfigurationManager.ConnectionStrings["MySqlStr"].ToString();
            MySqlConnector.initConnection(mysqlstr);
            Application.Run(new TenpointSystem.Forms.LoginForm());
        }
    }
}
